cannot have --out-file and --out-dir
